﻿<%@ Page Language="C#" MasterPageFile="~/masterPage2.master" AutoEventWireup="true" CodeFile="upimg.aspx.cs" Inherits="upimg" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title>购物币说明</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="panel panel-primary">
        <div class="panel-heading text-center">上传好评截图</div>
        <div class="panel-body">
            <table class="table" style="margin-bottom: 0px">
                <tr>
                    <td class="text-center">
                        <img src="../bootstrap/imgs/pc2.png" class="img-responsive img-thumbnail" alt="购物币" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <span style="font-weight: bold">点击下方上传图片按钮上传您的好评截图。仅此一步领取现金红包。</span>
                    </td>
                </tr>

            </table>
        </div>
        <div class="panel-footer text-center">
            <input id="lblInfo" type="button" class=" btn-warning btn-lg" value="点击选择截图" onclick="GetFile()" />
        </div>
        <div style="display: none">
            <input id="UploadFile" type="file" runat="server" onchange="Ts(this)" />
            <input id="Submit1" type="submit" value=" 上 传 " runat="server" />
        </div>
        <div class="panel-footer text-center" style="color: red;">
            <asp:Label ID="lblResult" runat="server"></asp:Label>
        </div>
    </div>
    <script>
        function GetFile() {
            document.getElementById("ContentPlaceHolder1_UploadFile").click();
        }
        function Ts(obj) {
            document.getElementById("ContentPlaceHolder1_Submit1").click();

        }

    </script>
</asp:Content>
